<?php 
require_once("../connect_db.php");
$sqlOrder="update orders set order_status='P',pay_status='Y' where order_id='".$_GET["temp"]."'";
$queryOrder=mysql_query($sqlOrder);

?>